From: Steven Tamm Date: Sun, 25 Apr 2004 21:07:58 +0000 (+0000) Subject: lread.c (init_lread): Don't display missing lisp directory X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22937 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f9f04bd8525b5df6b43350a0a22cc4ab80e87779;p=emacs.git lread.c (init_lread): Don't display missing lisp directory warnings with Carbon Emacs because self-contained bundled Emacs may be build without correct installation path. --- diff --git a/src/ChangeLog b/src/ChangeLog index b19c0a4e881..cf2115a0247 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-26 Steven Tamm + * lread.c (init_lread): Don't display missing lisp directory + warnings with Carbon Emacs because self-contained bundled Emacs + may be build without correct installation path. + 2004-04-25 Kim F. Storm * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. diff --git a/src/lread.c b/src/lread.c index 4aa49c59eef..66ac69912b7 100644 --- a/src/lread.c +++ b/src/lread.c @@ -3676,11 +3676,15 @@ init_lread () } #endif -#ifndef WINDOWSNT +#if (!(defined(WINDOWSNT) && (defined(HAVE_CARBON)) )) /* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is almost never correct, thereby causing a warning to be printed out that confuses users. Since PATH_LOADSEARCH is always overridden by the - EMACSLOADPATH environment variable below, disable the warning on NT. */ + EMACSLOADPATH environment variable below, disable the warning on NT. + Also, when using the "self-contained" option for Carbon Emacs for MacOSX, + the "standard" paths may not exist and would be overridden by + EMACSLOADPATH as on NT. Since this depends on how the executable + was build and packaged, turn off the warnings in general */ /* Warn if dirs in the *standard* path don't exist. */ if (!turn_off_warning) @@ -3702,7 +3706,7 @@ init_lread () } } } -#endif /* WINDOWSNT */ +#endif /* WINDOWSNT && HAVE_CARBON*/ /* If the EMACSLOADPATH environment variable is set, use its value. This doesn't apply if we're dumping. */